<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
<title>用户详情列表</title>
</head>
<body>

<table border="1">
	<tr>
		<td>用户名</td>
		<td>邮箱</td>
		<td>地址</td>
		<td>爱好</td>
		<td>头像</td>
		
	</tr>
	<c:forEach items="${user}" var="p">
	<tr>
		<td>${p.username}</td>
		<td>${p.email}</td>
		<td>${p.address}</td>
		<td>${p.hobby}</td>
		<td><img src="images/${p.photo}" width="100px" height="50px"/></td>
	</tr>
	</c:forEach>
	
</table>	
</body>
</html>